xen/x86: Generate deep dependencies of features
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 30 Jan 2016 15:52:41 +0000 (15:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 8 Apr 2016 20:53:57 +0000 (21:53 +0100)
commitfe4408d180f4b796bd930eb59d3fbdbfbbeb8e2b
treeb33893ffc74c335d8b077e9a4bc462b138f5d7b5
parentf71ecb6a1934c146883c4032ff1257576f5723fd
xen/x86: Generate deep dependencies of features

Some features depend on other features.  Working out and maintaining the exact
dependency tree is complicated, so it is expressed in the automatic generation
script.

At runtime, Xen needs to be disable all features which are dependent on a
feature being disabled.  Because of the flattening performed at compile time,
runtime can use a single mask to disable all eventual features.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/include/asm-x86/cpuid.h
xen/tools/gen-cpuid.py